/**
 * 
 */
package com.yasaka.stock.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 接口返回子对象，这里主要为json建立此vo
 * @author rdong
 *
 */
public class VoResResultFile {
	private int id;
	private String path;
	private String url;
	private boolean converted;
	private int wordCount;
	private int repeatCount;
	private String fieldList;
	private String name;
	private String code;
	private String message;
	private String ext_file_id;
	private int sents;
	//为新需求添加新的返回参数
	private String jsonPath;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	@JsonInclude(JsonInclude.Include.NON_NULL)
	@JsonProperty("path")
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getUrl() {
		return url == null ? "" : url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@JsonProperty("Converted")
	public boolean isConverted() {
		return converted;
	}

	public void setConverted(boolean converted) {
		this.converted = converted;
	}

//	@JsonInclude(JsonInclude.Include.NON_DEFAULT)
	@JsonProperty("WordCount")
	public int getWordCount() {
		return wordCount;
	}
	
	public void setWordCount(int wordCount) {
		this.wordCount = wordCount;
	}
	
//	@JsonInclude(JsonInclude.Include.NON_DEFAULT)
	@JsonProperty("RepeatCount")
	public int getRepeatCount() {
		return repeatCount;
	}

	public void setRepeatCount(int repeatCount) {
		this.repeatCount = repeatCount;
	}

	@JsonInclude(JsonInclude.Include.NON_NULL)
	public String getFieldList() {
		return fieldList;
	}

	public void setFieldList(String fieldList) {
		this.fieldList = fieldList;
	}

	@JsonInclude(JsonInclude.Include.NON_NULL)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@JsonInclude(JsonInclude.Include.NON_NULL)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@JsonInclude(JsonInclude.Include.NON_NULL)
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@JsonInclude(JsonInclude.Include.NON_NULL)
	public String getExt_file_id() {
		return ext_file_id;
	}

	public void setExt_file_id(String extFileId) {
		ext_file_id = extFileId;
	}

	@JsonInclude(JsonInclude.Include.NON_NULL)
	public int getSents() {
		return sents;
	}

	public void setSents(int sents) {
		this.sents = sents;
	}

	@JsonInclude(JsonInclude.Include.NON_NULL)
	public String getJsonPath() {
		return jsonPath;
	}

	public void setJsonPath(String jsonPath) {
		this.jsonPath = jsonPath;
	}

}